package com.tdrc.common.controller;

import com.tdrc.common.util.CommonUtil;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.multipart.MultipartFile;

import java.io.File;

/**
 * @author dpf
 * @version 1.0
 * @date 2020-5-11 17:03
 * @instruction ...
 */
@RestController
@RequestMapping("/upload")
public class UploadController {


    @RequestMapping(value = "/single")
    @ResponseBody
    public String uploadFile(@RequestParam("file") MultipartFile file) {
        String str = "";

        return str;
    }






}
